package com.bage.wx.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class MpCommonRequest {

    // signature结合了开发者填写的token参数和请求中的timestamp参数、nonce参数
    @ApiModelProperty(value = "微信加密签名")
    @NotBlank
    private String signature;

    @ApiModelProperty(value = "时间戳")
    private String timestamp;

    @ApiModelProperty(value = "随机数")
    private String nonce;

    @ApiModelProperty(value = "随机字符串")
    private String echostr;
}
